add_executable(MultiProcess01-Server MultiProcess01.cpp)
# 使用shm_open()函数, g++最后要 -lrt, 而在CMake中要 rt.so。
target_link_libraries(MultiProcess01-Server rt.so)

add_executable(MultiProcess01-Client1 MultiProcess01-Client.cpp)
add_executable(MultiProcess01-Client2 MultiProcess01-Client.cpp)
add_executable(MultiProcess01-Client3 MultiProcess01-Client.cpp)
add_executable(MultiProcess01-Client4 MultiProcess01-Client.cpp)
add_executable(MultiProcess01-Client5 MultiProcess01-Client.cpp)
add_executable(MultiProcess01-Client6 MultiProcess01-Client.cpp)